tools/xentop : replace use of deprecated vwprintw
authorChristopher Clark <christopher.w.clark@gmail.com>
Wed, 18 Jul 2018 22:22:17 +0000 (15:22 -0700)
committerIan Jackson <ian.jackson@citrix.com>
Fri, 24 Aug 2018 17:45:17 +0000 (18:45 +0100)
commitd9ac156e5b6ad973b864f3e2e9af1964ddd8232c
treee089514c8ed05c62840836947b17cea91ee26454
parent342d984e2bb9e26dacd1e6832ac88131bd4b9635
tools/xentop : replace use of deprecated vwprintw

gcc-8.1 complains:

| xentop.c: In function 'print':
| xentop.c:304:4: error: 'vwprintw' is deprecated [-Werror=deprecated-declarations]
|     vwprintw(stdscr, (curses_str_t)fmt, args);
|     ^~~~~~~~

vw_printw (note the underscore) is a non-deprecated alternative.

Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Gbp-Pq: Topic misc
Gbp-Pq: Name tools-xentop-replace-use-of-deprecated-vwprintw.patch
tools/xenstat/xentop/xentop.c